﻿using System;
using System.Collections.Generic;
using System.Text;
using NLBS.Entity;

namespace NLBS.Views
{
    public class UserEventArgs : EventArgs
    {
        public UserEventArgs() { }

        public UserEventArgs(User user)
        {
            this._user = user;
        }

        private User _user;
        public User CurrentUser
        {
            get
            {
                return _user;
            }
        }
    }

    public class UserUpdateEventArgs : UserEventArgs
    {
        public UserUpdateEventArgs(User user)
            : base(user)
        {
        }
    }


    public class UserDeleteEventArgs : UserEventArgs
    {
        public UserDeleteEventArgs(User user)
            : base(user)
        {
        }
    }

    public class UserSelectEventArgs : UserEventArgs
    {
        public UserSelectEventArgs(User user)
            : base(user)
        {
        }
    }

    public class UserInsertEventArgs : UserEventArgs
    {
        public UserInsertEventArgs(User user)
            : base(user)
        {
        }
    }
}
